/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package homeword.demo01;

/**
 *
 * @author Administrator
 */
public class Book {

    /**
     * @2010405121 朱荻
     */
    private int isbn;
    private String title;
    private double price;

    public Book(int isbn, String title, double price) {
        this.isbn = isbn;
        this.title = title;
        this.price = price;
    }

    public void  Printbook() {
        System.out.println("图书编号为:" + isbn);
        System.out.println("图书名字为:" + title);
        System.out.println("图书价格为:" + price);
    }

}
